import request from '@/utils/request'

// 创建支付订单
export function createOrder(data) {
  return request({
    url: '/api/payment/create',
    method: 'post',
    data
  })
}

// 查询订单支付状态
export function queryOrderStatus(orderNo) {
  return request({
    url: '/wechat/pay/order/status',
    method: 'get',
    params: { orderNo }
  })
} 